<template>
  <div class="sopcover-preview-page">
    <div class="sopcover-preview-page__header">
      <img src="~@assets/images/sop-page-header.png" />
    </div>
    <div class="sopcover-preview-page__content">
      <slot />
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less">
.sopcover-preview-page {
  position: relative;
  width: 794px;
  height: 1128px;
  margin: 0 auto;
  padding: 62px 20px;
  color: #222;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
  border-radius: 3px;

  &__header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 62px;
    border-bottom: 1px solid #999;

    img {
      position: absolute;
      left: 50%;
      bottom: 3px;
      max-width: 60%;
      transform: translateX(-50%);
    }
  }

  &__content {
    height: 100%;
    overflow: hidden;
  }

  + .sopcover-preview-page {
    margin-top: 10px;
  }
}
</style>